<?php

class MallSpecService
{
    /*
    * 检查规格种类
    *
    */
    public static function checkSpecType($type)
    {
       if($type==MsgConst::MALL_SPEC_TYPE_ENUM || $type == MsgConst::MALL_SPEC_TYPE_NUM)
           return true;

        throw new Exception("规格种类错误");



    }



}


?>